using System;
using System.Collections.Generic;
using WebSMS;

public class RuleDetailsResponse
{
    public Guid RuleId { get; set; }
    public List<UserDtoR> Users { get; set; } = new List<UserDtoR>();
    public List<DataPermissionDto> DataPermissions { get; set; } = new List<DataPermissionDto>();
    public List<MenuDto> Menus { get; set; } = new List<MenuDto>();
}

public  class UserDtoR
{
    public Guid UserId { get; set; }
    public string? Username { get; set; }
    public string? Email { get; set; }
    public string? Phone { get; set; }
    public bool IsActive { get; set; }
}


public class DataPermissionDto
{
    public Guid DataId { get; set; }
    public DataType DataType { get; set; }
}

public class MenuDto
{
    public Guid MenuId { get; set; }
    public string? MenuName { get; set; }
    public string? Path { get; set; }
    public string? Icon { get; set; }
    public Guid? ParentMenuId { get; set; }
    public int Priority { get; set; }
}